<?php
    session_start();
	require_once('../inc/fnc.php');
	require_once('../inc/conn.php');
	
	$name = $_POST['name'];
	$searchresult = '<div class="topShadow"></div>
						<div id="searchWrap">
							<h1>Results for "'.$name.'"</h1>
							<ul class="timeline">';
			$searchresult .= searchStory($name);
			$searchresult .= '</ul>
						</div>
					<div class="bottomShadow"></div>';

	echo $searchresult;
?>